function getGlobalEnvs
{
    Get-Content variables.ps1 | ForEach-Object {
        $line = $_.ToString()
        if ($line.Length -eq 0)
        {
            continue
        }
        # $line -replace '^\$', ('$' + 'global:')
        $line = $line -replace '^\$', '$global:'

        Write-Output $line
        # Invoke-Expression $line
    }
}
getGlobalEnvs